Harden script bridge and workflow governance - #24
Closed
generalio wants to merge 7 commits into
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
修复全项目审查发现的 JS 桥来源校验、可信主机可变集合、跨平台状态测试与工作流治理问题,并使默认流程不再要求阶段交接文档。
改动内容
平台影响
验证命令与结果
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest tools.tests.test_agent_workflow -v:48 项通过。git diff origin/main...3ba4d6d41c327650ace3555aebc832cce1e71275 --check:通过。./gradlew apiCheck --console=plain --no-daemon --no-parallel --max-workers=1:通过。风险与兼容性
文档变更
更新 AGENTS、工作流协议、任务模板和账本 README,说明默认无 handoffs、停止参数与锁获取顺序、最小角色编排,以及完整审查/恢复证据规则。
Agent 工作流记录
.codex/workflow/runs/MW-20260818-004/task-contract.md3ba4d6d41c327650ace3555aebc832cce1e71275